package com.ycp.erp.warehouse.model.event;

import com.one.common.model.event.BaseEvent;
import com.ycp.erp.warehouse.model.bean.Warehouse;

/**
 * Class Des:
 * Created by bjh on 2021/9/6.
 */
public class MoveWarehouseEvent extends BaseEvent {
    private Warehouse warehouse;
    //true 表示移入库房 false 表示移出库房
    private boolean isMoveIn;

    public boolean isMoveIn() {
        return isMoveIn;
    }

    public void setMoveIn(boolean moveIn) {
        isMoveIn = moveIn;
    }

    public Warehouse getWarehouse() {
        return warehouse;
    }

    public void setWarehouse(Warehouse warehouse) {
        this.warehouse = warehouse;
    }

    public MoveWarehouseEvent(Warehouse warehouse, boolean isMoveIn) {
        this.warehouse = warehouse;
        this.isMoveIn = isMoveIn;
    }
}
